package com.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 排班时间表
 * </p>
 *
 * @author Demoon Liu
 * @since 2022-02-20
 */
@Schema(description = "排班实体类")
public class Schedule implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "排班id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "问车车")
    private LocalDateTime date;

    @Schema(description = "问车车")
    private Integer status;

    @Schema(description = "问车车")
    private Long remain;

    @Schema(description = "问车车")
    private Integer noon;

    @Schema(description = "员工id")
    private Long staffid;

    @Schema(description = "部门id")
    private Long deptid;

    @Schema(description = "问车车")
    private Long sklimit;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public LocalDateTime getDate() {
        return date;
    }

    public void setDate(LocalDateTime date) {
        this.date = date;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Long getRemain() {
        return remain;
    }

    public void setRemain(Long remain) {
        this.remain = remain;
    }
    public Integer getNoon() {
        return noon;
    }

    public void setNoon(Integer noon) {
        this.noon = noon;
    }
    public Long getStaffid() {
        return staffid;
    }

    public void setStaffid(Long staffid) {
        this.staffid = staffid;
    }
    public Long getDeptid() {
        return deptid;
    }

    public void setDeptid(Long deptid) {
        this.deptid = deptid;
    }
    public Long getSklimit() {
        return sklimit;
    }

    public void setSklimit(Long sklimit) {
        this.sklimit = sklimit;
    }

    @Override
    public String toString() {
        return "Schedule{" +
                "id=" + id +
                ", date=" + date +
                ", status=" + status +
                ", remain=" + remain +
                ", noon=" + noon +
                ", staffid=" + staffid +
                ", deptid=" + deptid +
                ", sklimit=" + sklimit +
                "}";
    }
}
